< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03102200.xhp

(section: isarray) (bookmark: bm_id3154346)
IsArray function

IsArray 関数

IsArray Function [Runtime]
IsArray 関数 [実行時](hd_id3154346.1)

Determines if a variable is a data field in an array.
与えられた変数が、配列内のデータフィールドであるかを判定します。(par_id3159413.2)

(/section: isarray)

Syntax:
構文:(hd_id3150792.3)

IsArray (Var)
IsArray (Var)(par_id3153379.4)

Return value:
戻り値:(hd_id3154365.5)

Bool
ブール型(par_id3154685.6)

Parameters:
パラメータ:(hd_id3153969.7)

Var: Any variable that you want to test if it is declared as an array. If the variable is an array, then the function returns True, otherwise False is returned.
Var: 配列として宣言されたものであるかを判定する変数。与えられた変数が配列であれば、この関数は True を返し、そうでない場合は False を返します。(par_id3145172.8)

(embed text/sbasic/shared/00000003.xhp#errorcode : linkinfo)

Error Codes

エラーコード(hd_id3152869.37)

(/embed text/sbasic/shared/00000003.xhp#errorcode)

(embed text/sbasic/shared/00000003.xhp#err5 : linkinfo)

5 Invalid procedure call
5 無効なプロシージャー呼び出しです (par_id3150891.41)

(/embed text/sbasic/shared/00000003.xhp#err5)

Example:
例:(hd_id3155131.9)

Sub ExampleIsArray
Sub ExampleIsArray(par_id3153365.10)

Dim sDatf(10) as String
Dim sDatf(10) as String(par_id3150487.11)

print isarray(sdatf())
print isarray(sdatf())(par_id3155414.12)

end Sub
end Sub(par_id3153727.13)


< Prev / Next >